package com.gx.mxbbx.dao;

import com.gx.mxbbx.po.Area;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AreaMapper {
    List<Area> getAllArea(@Param("areaName") String areaName);

    List<Area> getAreaTree(String areaName);

    void areaadd(Area area);

    Area getareaById(Integer id);

    void areaedit(Area area);

    void areadelete(Integer id);
}
